class Tip {

  /**
   * 初始化提示类型
   */
  constructor() {
    this.tips = ["addTip",
      "switchViewTip",
      "slideDelTip",
      "slideCancelCollectTip"
    ];
  }

  init() {
    for (let i = 0; i < this.tips.length; i++) {
      let tip = wx.getStorageSync(this.tips[i]);
      if (!tip) {
        wx.setStorageSync(this.tips[i], false)
      }
    }
  }
}

export {
  Tip
}